package com.lin.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AddressVO", description = "地址VO实体")
@TableName("address")
public class AddressVO {
    @ApiModelProperty(value = "地址ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "用户ID", example = "1")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "省", example = "广东省")
    private String province;

    @ApiModelProperty(value = "市", example = "深圳市")
    private String city;

    @ApiModelProperty(value = "区", example = "宝安区")
    private String town;

    @ApiModelProperty(value = "手机号", example = "12345678901")
    private String mobile;

    @ApiModelProperty(value = "街道", example = "宝安大道")
    private String street;

    @ApiModelProperty(value = "联系人", example = "lin")
    private String contact;

    @ApiModelProperty(value = "备注", example = "this is a address")
    private String notes;
}
